/*
 * Contains Mark class
 */
package student_report;

/**
 * MARKS table java representation
 * @author Alexey Akimov <frinatella@gmail.com>
 */
public class Mark {

    /**
     * Constructor
     * @param markId mark identificator
     * @param studentId student identificator
     * @param subjectId subject identificator
     * @param markValue mark value
     */
    public Mark(int markId, int studentId, int subjectId, int markValue) {
        this.markId = markId;
        this.studentId = studentId;
        this.subjectId = subjectId;
        this.markValue = markValue;
    }
    
    /**
     * Mark identificator
     */
    private int markId;

    /**
     * Getter
     * @return mark identificator
     */
    public int getMarkId() {
        return markId;
    }

    /**
     * Setter
     * @param markId mark identificator
     */
    public void setMarkId(int markId) {
        this.markId = markId;
    }
    
    /**
     * Student identificator
     */
    private int studentId;

    /**
     * Getter
     * @return student identificator
     */
    public int getStudentId() {
        return studentId;
    }

    /**
     * Setter
     * @param studentId student identificator
     */
    public void setStudentId(int studentId) {
        this.studentId = studentId;
    }
    
    /**
     * Subject identificator
     */
    private int subjectId;

    /**
     * Getter
     * @return subject identificator
     */
    public int getSubjectId() {
        return subjectId;
    }

    /**
     * Setter
     * @param subjectId subject identificator
     */
    public void setSubjectId(int subjectId) {
        this.subjectId = subjectId;
    }
    
    /**
     * Mark value
     */
    private int markValue;

    /**
     * Getter
     * @return mark value
     */
    public int getMarkValue() {
        return markValue;
    }

    /**
     * Setter
     * @param markValue mark value
     */
    public void setMarkValue(int markValue) {
        this.markValue = markValue;
    }
    
}
